 		currentUser.set(customData: nil, forKey: "nilElement")
 		XCTAssertTrue(currentUser.customData?["nilElement"]?.dataValue is NSNull)
 		
-		
 		XCTAssertEqual(Date(timeIntervalSince1970: 1468593199).toJSON(), "2016-07-15")
 
 		let ctx = (self.mobileMessagingInstance.internalStorage.mainThreadManagedObjectContext!)

	func testThatInvalidPredefinedDataHandledProperly() {
		weak var expectation = self.expectation(description: "data received")
		mobileMessagingInstance.currentUser.pushRegistrationId = MMTestConstants.kTestCorrectInternalID
		
		let currentUser = MobileMessaging.currentUser!

		currentUser.msisdn = "9697162937"
		currentUser.email = "john@mail,com"
		
		currentUser.save { (error) in
			XCTAssert(error!.localizedDescription.contains("50017") && error!.localizedDescription.contains("Invalid email"))
			
			// these two assertions assure us that user data response was consideded successfull and server state response was saved


		currentUser.msisdn = "79214444444"
		currentUser.email = "darth@vader.com"
	
        XCTAssertTrue(currentUser.isChanged)
        
		currentUser.save { (error) in
			XCTAssertNil(error)
            
			XCTAssertFalse(currentUser.isChanged)
			XCTAssertEqual(currentUser.firstName, "Darth")
			XCTAssertEqual(currentUser.lastName, "Vader")
			XCTAssertEqual(currentUser.birthdate, darthVaderDateOfBirth)
