Adding tests to update Catalogtree on demand