CompilerTest: fixed the runtime used for running tests to 0.6
CompilerTest: fix the language module version used for running tests once and for all
Slight reordering of generation code for #1125
Commenting lines that need to stay commented
Fixed try-with-resource test because of changes in the generated code (#1125)
Made a minor change in the generation in the try-with-resource to make it almost the same as how Java does it (#1125)