Phonegap testing