Fix setup_env tests.