Add tests for NextMixin.
Add some tests for MessageMixin.