minor refactor: remove some unused imports and expand some * imports (expansion was just where optimize imports made such a change for files having unused imports)
GROOVY-6916: Avoid stack overflow when rendering templates and improve the syntax for in-string rendering
minor refactor: improve test by not relying on toString() specific behavior
minor refactor: remove some spurious whitespace