tests for messaging app