Can a test be wrong?

I took a pregnancy test 2 weeks after I had intercourse. The test came back negative so I wasn’t really worried about it. My period is still a week late and I’ve had no symptoms of it coming any time soon. Could the test have been wrong?