exit with the number of failed tests (instead of always 0)