Help!!!

Quick question,have any of you had like brownish spotting for like a day or so on your expected period date but your period normally last more than 2 days! And than tested couple weeks after and tested positive? I got brown discharge on the 27th and it stopped on the 28th of last month, no pad needed or tampon. But i just have been feeling weird!