Updated the errors test for the new error object.
Updated the errors test for the new error object.

stripe/stripe-node,buunguyen/stripe-node,bendiy/stripe-node,tempbottle/stripe-node,toymachiner62/stripe-node,stripe/stripe-node,bradcavanagh-ffs/fusebill-node,fingerfoodstudios/fusebill-node,djeusette/stripe-node,DanielAudino/fusebill-node,matthewarkin/stripe-node