Tests for job cancelation and status.