Cordova test exceptions plugin