testing a app with phonegap