Testing php and phonegap