testing phonegap