Tested neg/ but was pregnant?

Anyone ever have this happen? How early on did you test