Help!? Implantation bleeding?

My AF is due tomorrow. This morning I had dark brown spotting. So confusing...took a test and it was a BFN. Anyone else experience this? Could it be implantation bleeding? Or is it too close to AF?