add test_cmd_ret.sh