Add method and interop to test if adding a new dependency introduces a cyclic dependency.