Adds a test to make sure that there's only one version of a dependent module, regardless how many -swift-versions are present in the dependency hierarchy.