Test of the Phonegap camera api functions