Maduro testifies before a judge in New York