EZP-22250: Make sure to execute the unit test in a correct and consistent env.