fixed the jobitem unit test.

Fixed the jobitem unit test not working after code merges.