added stub and test for sending message