Log repr() of message content instead of the raw string.
Merge branch 'develop' into feature/issue-27-test-helpers
Update new test.