Redundant test code.
Standardize how tests construct MongoClients.