         app.launchArguments.append("-BadUrlScheme")
         app.launch()
         sleep(1)
-        self.waitForElementToBeHittable(app.buttons["Add Payment Method"])
+        waitForElementToBeHittable(app.buttons["Add Payment Method"])
         app.buttons["Add Payment Method"].tap()
     }
     
     func testDropIn_paypal_receivesError_whenUrlSchemeIsIncorrect() {
-        self.waitForElementToBeHittable(app.staticTexts["PayPal"])
+        waitForElementToBeHittable(app.staticTexts["PayPal"])
         app.staticTexts["PayPal"].tap()
         sleep(3)
         

        let elementsQuery = app.scrollViews.otherElements

        let cardNumberTextField = elementsQuery.textFields["Card Number"]
        self.waitForElementToBeHittable(cardNumberTextField)
        cardNumberTextField.typeText("4111111111111111")
        
        let cardholderNameTextField = elementsQuery.textFields["Cardholder Name"]
        cardholderNameTextField.typeText("\n")
        
        self.waitForElementToBeHittable(app.staticTexts[Date.getNextYear()])
        app.staticTexts["11"].forceTapElement()
        app.staticTexts[Date.getNextYear()].forceTapElement()
        
        let securityCodeField = elementsQuery.textFields["CVV"]
        self.waitForElementToBeHittable(securityCodeField)
        securityCodeField.forceTapElement()
        securityCodeField.typeText("123")
        
        let postalCodeField = elementsQuery.textFields["12345"]
        self.waitForElementToBeHittable(postalCodeField)
        postalCodeField.forceTapElement()
        postalCodeField.typeText("12345")
        
        app.buttons["Add Card"].forceTapElement()
        
        self.waitForElementToAppear(app.staticTexts["ending in 11"])
        
        XCTAssertTrue(app.staticTexts["ending in 11"].exists);
        
    }
}

        app.launchArguments.append("-TokenizationKey")
        app.launch()
        sleep(1)
        waitForElementToBeHittable(app.buttons["Add Payment Method"])
        app.buttons["Add Payment Method"].tap()
    }
    
    func testDropIn_paypal_showsPayPal() {
        waitForElementToBeHittable(app.staticTexts["Credit or Debit Card"])
        XCTAssertTrue(app.staticTexts["PayPal"].exists)
    }
    
    func testDropIn_paypal_receivesNonce() {
