Added ExecutePythonCommand test utility