testing running in cordova