Cordova accelerometer test