Test clearing of the parent.