make tests work with couchdb 1.3.0 as well (fixes #8)