Pregnancy test

Has anyone ever had a negative test 3 days before period and then positive after a week of missed period?

I used a dollar store cheapie so I’m unsure of how accurate it is