added test  for creating chats