Fix a test for ws

Fix a test for websocket, which was working as a polling transport.