tests: test for websocket_connect failure