Fix test/test_command.py

Fix tests for commands added to CommandObject in
743a8a7be839bb1179580dd38f3e791ba7b839ab