initDispatcher in test methods