Made failed test runs exit with non-zero exit code