Testing PhoneGap camera