Update ws.test now that the websockets interface always returns JSON