testing phonegap application