Fixed the command tests