Trump testifies in defamation suit