[PATCH v2 1/2] cmd: Add tests for type wildcard expansion.