implementing ad-hoc test for hierarchical cycles issue