 
 class TMSessionLocation:XCTestCase
 {
-    private let kCountry:String = "banana republic"
-    private let kOtherCountry:String = "coffee republic"
+    private let kUserId:String = "johnnyTest"
+    private let kCountry:String = "bananaRepublic"
+    private let kOtherCountry:String = "coffeeRepublic"
     private let kLatitude:Double = 1
     private let kLongitude:Double = 2
     private let kWaitExpectation:TimeInterval = 15
     
     //MARK: private
     
-    private func createUser(
-        session:MSession,
-        completion:@escaping(() -> ()))
-    {
-        session.load
-        {
-            XCTAssertEqual(
-                session.status,
-                MSession.Status.loaded,
-                "user not loaded")
-            
-            XCTAssertNotNil(
-                session.data?.userId,
-                "missing user id")
-            
-            completion()
-        }
+    private func createUser(session:MSession)
+    {
+        let sessionData:MSessionData = MSessionData(
+            userId:kUserId,
+            country:kCountry,
+            status:DSession.Status.active)
+        session.data = sessionData
     }
     
     private func addLocation(

                "country user should be nil")
        }
    }
}

        let firebase:FDatabase = FDatabase()
        
        createUser(session:session)
        
        addLocation(
            session:session,
            firebase:firebase)
        {
            completion(session, firebase)
        }
    }
    
