Enhance message_dispatcher unit-tests.