 
 class CoreTests: XCTestCase {
 
-    static let PAPER_KEY_MAINNET = "paperKeysMainnet"
-    static let PAPER_KEY_TESTNET = "paperKeysTestnet"
-
-    var isMainnet: Int32! = 1
+    struct AccountSpecification {
+        let identifier: String
+        let network: String
+        let paperKey: String
+        let timestamp: Date
+
+        init (dict: [String: String]) {
+            self.identifier = dict["identifier"]! //as! String
+            self.network    = dict["network"]!
+            self.paperKey   = dict["paperKey"]!
+
+            let dateFormatter = DateFormatter()
+            dateFormatter.dateFormat = "yyyy-MM-dd"
+            dateFormatter.locale = Locale(identifier: "en_US_POSIX")
+
+            self.timestamp = dateFormatter.date(from: dict["timestamp"]!)!
+        }
+    }
+
+    var accountSpecifications: [AccountSpecification] = []
+    var accountSpecification: AccountSpecification! {
+        return accountSpecifications.count > 0
+            ? accountSpecifications[0]
+            : nil
+    }
+    var paperKey: String! = nil
+
+    var isMainnet = true
     var isBTC: Int32! = 1
 
-    var paperKeys: [String] = []
-
-    var paperKey: String! {
-        return (paperKeys.count > 0
-            ? paperKeys[0]
-            : nil)
-    }
-
-    let configPath = Bundle(for: CoreTests.self).path(forResource: "CoreTestsConfig", ofType: "plist")!
+    let configPath = Bundle(for: CoreTests.self).path(forResource: "CoreTestsConfig", ofType: "json")!
 
     var account: BREthereumAccount!
 

    func testBitcoinWalletManagerSync () {
        print ("ETH: TST: Core Dir: \(coreDataDir!)")
        coreDirClear()
        BRRunTestWalletManagerSync (paperKey, coreDataDir, isBTC, isMainnet);
        BRRunTestWalletManagerSync (paperKey, coreDataDir, isBTC, isMainnet);
   }

    func testPerformanceExample() {

            DispatchQueue.init(label: "Sync \(i)")
                .async {
                    group.enter()
                    let paperKey = i <= self.accountSpecifications.count ? self.accountSpecifications[i - 1].paperKey : nil
                    BRRunTestsSync (paperKey, self.isBTC, (self.isMainnet ? 1 : 0));
                    group.leave()
            }
        }
