Creation of chatclient
- Test for logging