test on phonegap