Add option for test to return exit code 1 if tests fail