Add dispatcher tests