Test for PhoneGap