removes websocket client_connected and adds test example