Add tests for deleteMessage.