(pouchdb/pouchdb#2017) - and take putView out of the tests