 
         Realm()
         XCTAssertEqual(UInt(0), schemaVersionAtPath(Realm.defaultPath)!, "Initial version should be 0")
+        assertThrows(schemaVersionAtPath("/dev/null"))
     }
 
     func testMigrateRealm() {

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

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

                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)
