Add tests for PhoneGap/Cordova vendor exceptions.