Added comprehensive tests for job cancellation in a variety of environments (local vs cluster, fifo vs fair).