Captain of death ship testifies at court-martial