[ResolverSpec] Add a failing test case for implicitly locked dependencies

This test case needs to pass for https://github.com/CocoaPods/CocoaPods/issues/2318.