     assert(identity1 == unsafeBitCast(d1, to: Int.self))
     assert(identity2 != identity1)
     assert(d1.count == 3)
-    assert(d1[TestObjCKeyTy(10)]!.value == 1010)
+    assert((d1[TestObjCKeyTy(10)] as! TestObjCValueTy).value == 1010)
     assert(d2._variantStorage.asNative.capacity >= originalCapacity)
     assert(d2.count == 0)
     assert(d2[TestObjCKeyTy(10)] == nil)

  do {
    var kv = d[d.index(forKey: TestObjCKeyTy(10))!]
    assert(kv.0 == TestObjCKeyTy(10))
    assert(kv.1.value == 1010)
  }
}


    assert(isCocoaDictionary(d))
    let originalCapacity = d.count
    assert(d.count == 3)
    assert((d[TestObjCKeyTy(10)] as! TestObjCValueTy).value == 1010)

    d.removeAll(keepingCapacity: true)
    assert(identity1 != unsafeBitCast(d, to: Int.self))
