Trump testifies in New York business fraud case