Added websocket connection test.