update test case for sending message