added a task to fail on test failures.