test for dispatcher