test: use Command.usage & Command.summary API in unittest