A paramedic has taken the stand in a case involving the fatal beating of a homeless man by police officers.