test of websocket connections
refactored test interaction