Added test cases to test scopes and optional to DependencyCollectionTest
Added test cases to test version conflicts and cycles to
DependencyCollectionTest
Added OptionalDependencySelector