Uti affect pregnancy test?

I took 4 Veriquick home pregnancy tests yesterday, the first one was invalid at first then turned to a faint positive, the next 3 came up positive within 30 seconds, I did have a uti when I took the tests, could they all be false positives?