             snapshot:snapshot)
         
         XCTAssertEqual(
-            fDatabaseModelUser.status,
-            status,
-            "Parsing status error")
+            fDatabaseModelUser.email,
+            kEmail,
+            "Parsing email error")
         
         XCTAssertEqual(
             fDatabaseModelUser.created,
             kCreated,
             "Parsing created error")
-        
-        XCTAssertEqual(
-            fDatabaseModelUser.lastSession,
-            kLastSession,
-            "Parsing last session error")
         
         XCTAssertEqual(
             fDatabaseModelUser.diskUsed,

        case diskUsed = "diskUsed"
        case photos = "photos"
        case albums = "albums"
    }
    
    let session:FDatabaseModelUserSession
    let email:String
    let created:TimeInterval
    let diskUsed:Int
    private let kEmpty:String = ""
    private let kNoTime:TimeInterval = 0
    
    func testInitSnapshot()
    {
        let status:FDatabaseModelUser.Status = FDatabaseModelUser.Status.active
        let keyStatus:String = FDatabaseModelUser.Property.status.rawValue
        let keyCreated:String = FDatabaseModelUser.Property.created.rawValue
        let keyLastSession:String = FDatabaseModelUser.Property.lastSession.rawValue
        let keyDiskUsed:String = FDatabaseModelUser.Property.diskUsed.rawValue
        
        let snapshot:[String:Any] = [
            keyStatus:status.rawValue,
            keyCreated:kCreated,
            keyLastSession:kLastSession,
            keyDiskUsed:kDiskUsed
        ]
        

            modelJson,
            "Error creating model json")
        
        let jsonEmail:String? = modelJson![keyEmail] as? String
        let jsonCreated:TimeInterval? = modelJson![keyCreated] as? TimeInterval
        let jsonDiskUsed:Int? = modelJson![keyDiskUsed] as? Int
        
        XCTAssertEqual(
            kEmail,
            jsonEmail,
            "Email received from json is no the same as the stored")
        
        XCTAssertEqual(
            kCreated,
            jsonCreated,
            "Created received from json is not the same as the stored")
        
        XCTAssertEqual(
            kDiskUsed,
