BS-1542, refactor test and move integration test to unit test
BS-1542, add unit test on JobServiceImpl