Tests and docs for MessageDispatchHelper.