run_tests exits with code 1 if any tests fail