unittests for cli actions