test uploader for phonegap