lean on CouchDB: compatible result

and test against a real CouchDB.