Exit with nonzero status if tests fail.