PhoneGap Camera testing