Validator does not exit after faulty test case