Johnny Depp ends testimony in defamation case against Amber Heard