JobFactory test