[FIX] core: env.clear() also invalidates lazy properties
In unit tests, this avoids side effects from one test to another. In particular, a test modifying the user's company can make other tests fail because `env.company` defaults to the user's company when nothing else is available in the context.
Loading