We never tried to sink a CVN with nuclear weapons. There has only been 1 CVN that retired and it was CVN65 U.S.S. ENTERPRISE.
Yes we did - it was in one of the early pacific bomb tests ; they may have not had the CVN designation in the 50s-60s, but a carrier none the less - one of a feet anchored out