Test_set_env - simplified
pip_install executes pip as subprocess