             XCTAssertEqual(obj.testString, "BLAH")
         }
         catch { }
-        
-        stack.deleteStore(andRejuvenate: false)
+
+        //clean up container
+        deleteContainerAtPath(containerURL)
     }
-    
 }
+
+
+
 
 
 //MARK: - Utilities -
 extension StackTests {
-    private func containerURL(name: String) -> NSURL {
+    private func createContainerFromName(name: String) -> NSURL {
         let documentsPath = NSSearchPathForDirectoriesInDomains(.DocumentDirectory, .UserDomainMask, true)[0]
         let fullPath = documentsPath.stringByAppendingString("/\(name)")
         let url = NSURL(fileURLWithPath: fullPath, isDirectory: true)

    }
    
    
    func testMainContextSave() {
        
        var stack = createStack("TestDir")
        
        guard let context = stack.mainContext else {
            fatalError()

                fatalError()
            }
        }
        
        print("Container URL: \(url.absoluteString)")
        return url
    }
    
    private func deleteContainerAtPath(path: NSURL) {
        do {
            try NSFileManager.defaultManager().removeItemAtURL(path)
        }
        catch {}
    }
    
    private func createStack(containerURL: NSURL) -> CoreDataStack {
        let bundle = NSBundle(forClass: StackTests.self)
        let stack = CoreDataStack(
            bundle: bundle,
            modelName: Constants.ModelName,
            containerURL: containerURL,
            inMemoryStore: false,
            logDebugOutput: true)
        
