Ex-envoy to Ukraine testifies