Adds unit test for custom user messages