Fix tests for sending message type