Enhance integration test to ensure that root.id has the correct type when there is a dependency cycle between projects.