Exit tests with number of failures.