fixed small WebSocket test bug