added cli tests