more consistent WebSocket tests