Fix tests that leaked couch instances.