test cli operations