testing phonegap / cordova