Started some unit tests for the cmdmod.py module
Pylint fix
Merge pull request #18454 from rallytime/cmd_unittests

Started some unit tests for the cmdmod.py module