Improve NewPythonModel compatibility with previous PythonModel
Fix test bug: Empty control manager to avoid control to be shared among tests in test suites