Test methods to send a message