test subtrees