Used for storing connections in CollectionTest::setUp, restored in Collection::tearDown.