updated couchdb tests