program to test phonegap