Created ChatMessage and ChatMessageTest classes.