Fixes #5831: remove test on node.env