Make the tests exit with a non-zero code when they fail