fix for state of project_hierarchy during testing