Updated TestScheduler to be interface instead of class.