Surging dollar tests China's capital controls as cash flees