subtree parent test