Fix  to command tests