Added tests for send_message