Added test for termination of single task jobs