MDL-64285 core: Fix environment check test