Pregnancy Tests

In order to stay on a budget and get multiple tests, I’ve been thinking of just picking up some dollar tree pregnancy tests. Will pregnancy tests from the dollar store actually work or are they a waste of money?