Modified unit test for ExecuteCommand.py