tests for messages