update documentation and finish unit tests for treeSkeleton