globals helper for testEnv
Revert "globals helper for testEnv"

This reverts commit 8a20cafd5193d99b5098be31b0d4e62cd54d8a88.