Refactored has_tree and cache_ancestry specs with prebuild models

- Current spec status: 125 examples, 0 failures.