Testing PhoneGap UI