Fixed failing test case of couchdb