testing the braintree api