ChatMessage model implemented and tested.