MessageDispatcher tests