added validation to Job model so tests would pass