fix broken dispatch-test