Added functional the first round of functional tests for the Dispatcher