added cli.run test case