Tests always dispose the application together with JetCoreEnvironment
Generators dispose application environment when done
Using Disposer.newDisposable() instead of an anonymous class