test code for Job#error_occurred
test code for Job#update_with_status