issue #2087: [dispatcher] Fixing errors in test.