The CAVES training tests astronaut teamwork, resilience and scientific focus all needed for the challenges of spaceflight.