What are some bacterias that will cause a pregnancy test to be negative?

Just went to the Dr yesterday and she said that there are no bacterias, vitamins, etc that will make a test give a false negative. The tests are testing for HCG, and nothing masks it. Although, your HCG levels may just be low, or the test may just be faulty.