testing couchdb as replacement for postgres