Testing PhoneGap and Ionic