Tested on R16B and CouchDB1.3.2