Fix cmd types tests