test: add env undefined regression test
This test is intended to trigger a bug in process.env on Windows. process.env may return the string 'undefined' for not existing or empty environment variables in some corner cases.
Please run this test in CI on Windows x86.
Original issue: https://github.com/nodejs/node/issues/14593#issuecomment-361111588