adding accelerometer test