Fix the script issue in the report test suite