test for PhoneGap