Not sure why this is necessary (or pulling in pbkdf2.js etc). The test suite should just write the "password" field and let couchdb hash it to pbkdf2.