assert expected type of response from CouchDB
Merge pull request #162 from stefankoegl/issue-145

assert expected type of response from CouchDB