Testing phonegap