testing accelerometer