metomi/fcm#28: add subtree tests, fixes