added accelerometer to test