Accel/gyro test script cleanup.