test command registered to the CLI properly

constant name was defined wrong for re-opening the CLI class

This can also be hidden depending on the weigh in on #547