add unit test for job