Adds a test with the expected behavior of the MessageDispatcher