test for a phonegap app