mocking job class during rake tasks generation