motor_test: cleanup