added cli command tests using python