                 XCTAssertEqual(oldObj.objectSchema.className, "SwiftStringObject")
                 XCTAssertEqual(newObj["stringCol"] as String, "string")
                 XCTAssertEqual(oldObj["stringCol"] as String, "string")
+                self.assertThrows(oldObj["noSuchCol"] as String)
+                self.assertThrows(newObj["noSuchCol"] as String)
                 count++
             })
             XCTAssertEqual(count, 1)

            migration.enumerate("SwiftStringObject", { oldObj, newObj in
                XCTFail("No objects to enumerate")
            })
        })

        // add object

        migrateAndTestRealm(Realm.defaultPath, block: { migration, oldSchemaVersion in
            migration.create("SwiftStringObject", withObject:["string"])
            migration.create("SwiftStringObject", withObject:["stringCol": "string"])

            self.assertThrows(migration.create("NoSuchObject", withObject:[]))

            var count = 0
            migration.enumerate("SwiftStringObject", { oldObj, newObj in
