Added unit test for Job