Good point. I initially thought it'd make it easier to test, but we can always just tweak the environment variable before invoking the connect function.