 
         self.payer = Payer(_id: "id", email: "email", type: "type", identification: nil, entityType: nil)
 
-        self.mpPayment = MPPayment(preferenceId: "prefId", publicKey: "pk", paymentMethodId: "pmId", transactionDetails: self.transactionDetails!, payer: self.payer!)
+        self.mpPayment = MPPayment(preferenceId: "prefId", publicKey: "pk", paymentMethodId: "pmId", transactionDetails: self.transactionDetails!, payer: self.payer!, binaryMode: true)
         var jsonResult = mpPayment!.toJSON()
 
         XCTAssertEqual(jsonResult["pref_id"] as? String, "prefId")

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

        self.customerPayment = CustomerPayment(preferenceId: "prefId", publicKey: "", paymentMethodId: "pmId", installments : 3, issuerId : "issuerId", tokenId : "123", customerId : "111", transactionDetails: self.transactionDetails!, payer: self.payer!)
        customerPaymentResult = self.customerPayment!.toJSON()

        XCTAssertEqual(customerPaymentResult["pref_id"] as? String, "prefId")

        XCTAssertNotNil(payer)
        XCTAssertEqual(payer?["id"] as? String, "111")
        XCTAssertEqual(payer?["email"] as? String, "email")
        
        XCTAssertEqual(customerPaymentResult["binary_mode"] as? Bool, false)

    }

