reset mode of test.sh