[added] cyclic graph test