CC-5651: Unit Test the Scheduler

Got test to run!