commands: Check for option name collisions
commands: Added tests for Command.Register