add tests for the scheduler