According to the Wikipedia article on Project Mercury:
Lovell flew on 4 different missions, notably as the commander of the famous Apollo 13. He was also part of the crew for Gemini 7 (Pilot) & 12 (Command Pilot) and Apollo 8 (Command Module Pilot).
Pete Conrad, who also took part in the selection process, disagreed with the tests practiced by NASA and chose to voluntarily fail several of them.
Unlike his fellow candidates, Conrad rebelled against the regimen. During a Rorschach inkblot test, he told the psychiatrist that one blot card revealed a sexual encounter complete with lurid detail. When shown a blank card, he turned it around, pushed it back and replied, "It's upside down".
Then when he was asked to deliver a stool sample to the onsite lab, he placed it in a gift box and tied a red ribbon around it. Eventually, he decided that he had had enough. After dropping his full enema bag on the desk of the clinic's commanding officer, he walked out. His initial application to NASA was denied with the notation not suitable for long-duration flight.
He later reapplied and finally joined NASA in 1962. Conrad also flew on 4 different missions : Gemini 5 (Pilot) & 11 (Command Pilot), Apollo 12 (Commander) and Skylab 2 (Commander)
So it seems at least two of the candidates that failed the tests did later become astronauts.