Add CLI commands tests