exit with the number of failed tests