"This may discourage a child or other heir from contesting the will." . . . .