The capability of the Command Module's heat shield to survive a trans-lunar reentry was demonstrated by using the Service Module engine to ram it into the atmosphere at higher than the usual Earth-orbital reentry speed.
What was one thing that was specifically tested on the Apollo 4 test launch regarding the CM?
heat shield