Implemented accelerometer testing