added application unit tests
Merge pull request #6 from stagecoachio/tests_dispatcher

added application unit tests