A test for PhoneGap