test in phonegap