Push the test environment setup into a separate shell script.