Resolving errors in dispatcher test.