Improving testing output for family tree and sort