Pregnancy tests

So I had two pregnancy tests come back faint positive, one however wasn't read until about an hour later. I went to the doctor and the they said the test was negative. How is that possible?