     }
 
     func testUpdateWithNestedObjects() {
-        let standalone = SwiftPrimaryStringObject(object: ["primary", 11])
+        let standalone = SwiftPrimaryStringObject(value: ["primary", 11])
         Realm().beginWrite()
         let object = Realm().create(SwiftLinkToPrimaryStringObject.self, value: ["otherPrimary", standalone, [["primary", 12]]], update: true)
         Realm().commitWrite()

    }

    func testCreateWithNestedObjects() {
        let standalone = SwiftPrimaryStringObject(object: ["primary", 11])
        Realm().beginWrite()
        let objectWithNestedObjects = Realm().create(SwiftLinkToPrimaryStringObject.self, value: ["primary", ["primary", 11], [standalone]])
        Realm().commitWrite()

        Realm().commitWrite()

        Realm().beginWrite()
        let object = SwiftLinkToPrimaryStringObject(value: ["primary", ["primary", 2], []])
        Realm().add(object, update: true)
        Realm().commitWrite()

