bug with accelerometer test.