fixed ChatMessage; refactored spec for ChatMessage