Testing the Interface to Phonegap