Fixed incorrect comment
Added interface for JobScheduler to support testing.