test using phonegap