Spotting then testing?

When can I test? I've been spotting for 3 days now, and it's seemed to stop. I spotted when my period was due, but it's brown. Everywhere I've read about it says implantation bleeding, since I missed my actual period. When can I test?