tests on phonegap