test document storage and design doc view in couchdb