adding integration tests for CouchDBView