Add test cases for timer
Add end-to-end test case
assert that mock dispatcher is not called before timer start
Merge pull request #921 from StackStorm/tests_for_timer

Add test cases for timer