Pregnancy tests

Anyone take a pregnancy test 5+ days before missed period and it be negative but take another one later on and it be positive?