testing of PhoneGap