PhoneGap framework test