Testing for PhoneGap