test: use T.Setenv
to set env vars in tests
#739
Merged
T.Setenv
to set env vars in tests
#739