added subtree test