testing with phonegap