It is hard to test the scheduler because it instantiates several objects in one of its methods. Hence it is not possible to test the logic because we don't have external access to these objects.
Also, all of the mocking of the configuration object is a bit painful.