^KT-65406
It's hard to tell which exact commit fixed each test
the script declarations are considered public, at least because they can be reused from another script then used with the `importedScripts` configuration property. It also improves the compatibility with K1 scripting.