refactored Job integration tests to unit tests