test websocket samples