test code for Job#cancel
test code for Job#done