Testing app using phonegap