test for messaging