US envoy warns North Korea against nuclear test