Make exit code in line with number of tests in error