Testing WebSocket-enabled applications