exit with failure code if tests failed