Fix errors introduced in the last pull request. (#24) We were using exit_code instead of task.exit code, and broke the print_test_times option.