Neither the vaccine nor a previous infection will prevent you from catching the virus again, but it will prevent you from falling ill which is all that really matters.
Generally in the past, it was accepted practice that doctors do specific tests to get more certainty with diagnosing certain infections in a patient that's showing symptoms matching that disease. You could make a case for mass testing healthy people for all kinds of infectious diseases but for economical reasons I doubt many would support it. If we did that we'd have to somehow account for all the false positives, then.