Bill Cosby’s chief accuser testifies