Add dispatcher tests.