Return sent message by emitMessage()
Test message format and sent message correctly