test coverage for messages