Man charged in shooting death of SDPD officer testifies in court