fix creation of test CouchDB databases