testing phonegap apps