Fix NPE in the test code

Pass an empty list instead of a null.
Move RebalanceController Scheduler to its own class