make all the pouchdb tests work