The perks and pitfalls of testamentary charitable giving