Unit tests for messages.
More unit tests for messages.