a phonegap application test