test example for cordova