Do dollar store pregnancy tests work?

I don't have much money. And I wanna take a test just incase.