Almost fully finished implementation of MessageManager with inclusive unit tests