Add sub-commands tests