Added test for sendChannelMessage.