class SchedulerTest modified