Added return for number of tests failed