fixing accellerometer test