test phonegap application