test subtree cmd