For Testing PhoneGap functionality