extracting couchdb documents
fixed CouchDBView event flow
replaced toEqual by toBe in views specs