added accelerometer test