add example_scheduler unit test

this test currently fails, may be related to issue #19