test ws client