Updating test case to send encoded message.