Trump must testify in New York investigation, judge rules