CLI tests