test accelerometer