"Subway terrorist" testifies