adding tests of chat client