Phonegap Testing