Small test fix to actually get the first root.
Make 'updateStructure' method public as we cannot call protected methods from closure scope.