Add C++ RunPythonScript test to CMakeLists...

and fix the test.
Refs #7019
Merge branch 'feature/7019_cpp_runpythonscript' into develop