minor: make sure env uri is reset on tests

use with_preserved_env_uri method in remaining tests that were still setting MONGODB_URI
minor: Use uri var to make test cleaner