Test coverage for codetree is incomplete and should be top priority (and required for all future contributions)