refactored test WebSocket creation process