Fix dispatcher call in test case