Test that passing env variable to child processes works correctly.