testing phonegap geolocation, accelerometer, filesystem and file upload