testing websocket connection