test case for a job