modification in test_cli