PouchDB tests fixes.