testing Phonegap