Would it be possible to set a variable here so that you can easily see the changes as you look through the tests?

    uri = "mongodb://localhost?connect=false"
    with_preserved_env_uri(uri) do