fixed cli_test.py