Implemented chats in the testclient