subtree test