Fixes a number of issues with braintree card verification and our test suite for braintree.