Resolving errors in dispatcher tests.