Israel's former attorney general has testified in Benjamin Netanyahu's corruption trial