make sure scheduler isnt running on its own during unit tests.
Merge pull request #257 from continuuity/feature/fix-scheduler-test

make sure scheduler isnt running on its own during unit tests.