fixed unit test for get_job_id