added tests for chatWsImpl