Test phonegap