Testing of PhoneGap