Journalist Glenn Greenwald testifies in Brasilia