Fixed a test in test_command_manager