Cop charged with resisting arrest testifies