   }
 
   func testMetaData() {
-      // When
-      guard let firstPersistentStore = container.viewContext.persistentStores.first else {
-        XCTAssertNotNil(container.viewContext.persistentStores.first)
-        return
-      }
-      // Then
-      let metaData = container.viewContext.metaData(for: firstPersistentStore)
-      XCTAssertNotNil((metaData["NSStoreModelVersionHashes"] as? [String: Any])?[Car.entityName])
-      XCTAssertNotNil((metaData["NSStoreModelVersionHashes"] as? [String: Any])?[Person.entityName])
-      XCTAssertNotNil(metaData["NSStoreType"] as? String)
-
-      let addMetaDataExpectation = expectation(description: "Add MetaData Expectation")
-      container.viewContext.setMetaDataObject("Test", with: "testKey", for: firstPersistentStore){ error in
-        XCTAssertNil(error)
-        addMetaDataExpectation.fulfill()
-      }
-      waitForExpectations(timeout: 5.0, handler: nil)
-
-      let updatedMetaData = container.viewContext.metaData(for: firstPersistentStore)
-      XCTAssertNotNil(updatedMetaData["testKey"])
-      XCTAssertEqual(updatedMetaData["testKey"] as? String, "Test")
+    // When
+    guard let firstPersistentStore = container.viewContext.persistentStores.first else {
+      XCTAssertNotNil(container.viewContext.persistentStores.first)
+      return
+    }
+    // Then
+    let metaData = container.viewContext.metaData(for: firstPersistentStore)
+    XCTAssertNotNil((metaData["NSStoreModelVersionHashes"] as? [String: Any])?[Car.entityName])
+    XCTAssertNotNil((metaData["NSStoreModelVersionHashes"] as? [String: Any])?[Person.entityName])
+    XCTAssertNotNil(metaData["NSStoreType"] as? String)
+
+    let addMetaDataExpectation = expectation(description: "Add MetaData Expectation")
+    container.viewContext.setMetaDataObject("Test", with: "testKey", for: firstPersistentStore){ error in
+      XCTAssertNil(error)
+      addMetaDataExpectation.fulfill()
+    }
+    waitForExpectations(timeout: 5.0, handler: nil)
+
+    let updatedMetaData = container.viewContext.metaData(for: firstPersistentStore)
+    XCTAssertNotNil(updatedMetaData["testKey"])
+    XCTAssertEqual(updatedMetaData["testKey"] as? String, "Test")
   }
 
   func testEntityDescription() {

    let context = container.viewContext.newBackgroundContext()

    context.performAndWait {
    let person = Person(context: context)
    person.firstName = "Alessandro"
    person.lastName = "Test"
    try! context.save()
    }

    let expectation1 = expectation(description: "\(#function)\(#line)")

  }

  func testSaveOrRollback() {
    // let stack = CoreDataStack.stack(type: .inMemory) // TODO: iOS 12 not working for in memory
    let context = container.viewContext

    let car1 = Car(context: context)
