test: Refactored `ChatRoomDataTest` - DRY for message attributes