Pouchdb tests fixes.