         self.transactionDetails = TransactionDetails(financialInstitution: self.financialInstitution)
         self.payer = Payer(_id: "id", email: "email", type: "type", identification: nil, entityType: nil)
 
-        let regularPayment = MPPaymentFactory.createMPPayment(preferenceId: "prefId", publicKey: "pk", paymentMethodId: "rapipago", isBlacklabelPayment : false, transactionDetails: self.transactionDetails!, payer: self.payer!)
+        let regularPayment = MPPaymentFactory.createMPPayment(preferenceId: "prefId", publicKey: "pk", paymentMethodId: "rapipago", isBlacklabelPayment : false, transactionDetails: self.transactionDetails!, payer: self.payer!, binaryMode: true)
 
         XCTAssertEqual(String(describing: regularPayment.classForCoder), String(describing: MPPayment.classForCoder()))
 
-        let blacklabelPayment = MPPaymentFactory.createMPPayment(preferenceId: "prefId", publicKey: "pk", paymentMethodId: "master", isBlacklabelPayment : true, transactionDetails: self.transactionDetails!, payer: self.payer!)
+        let blacklabelPayment = MPPaymentFactory.createMPPayment(preferenceId: "prefId", publicKey: "pk", paymentMethodId: "master", isBlacklabelPayment : true, transactionDetails: self.transactionDetails!, payer: self.payer!, binaryMode: true)
 
         XCTAssertEqual(String(describing: blacklabelPayment.classForCoder), String(describing:BlacklabelPayment.classForCoder()))
 
-        let customerPayment = MPPaymentFactory.createMPPayment(preferenceId: "prefId", publicKey: "pk", paymentMethodId: "visa", customerId : "customerId", isBlacklabelPayment : false, transactionDetails: self.transactionDetails!, payer: self.payer!)
+        let customerPayment = MPPaymentFactory.createMPPayment(preferenceId: "prefId", publicKey: "pk", paymentMethodId: "visa", customerId : "customerId", isBlacklabelPayment : false, transactionDetails: self.transactionDetails!, payer: self.payer!, binaryMode: true)
 
         XCTAssertEqual(String(describing: customerPayment.classForCoder), String(describing: CustomerPayment.classForCoder()))
 

        XCTAssertNotNil(payer)
        XCTAssertEqual(payer?["id"] as? String, "111")
        XCTAssertEqual(payer?["email"] as? String, "email")

    }


        XCTAssertEqual(payer?["id"] as? String, "id")
        XCTAssertEqual(payer?["email"] as? String, "email")
        XCTAssertEqual(payer?["access_token"] as? String, "payerAccessToken")
        
        XCTAssertEqual(jsonResult["binary_mode"] as? Bool, false)

    }

