tests do not pass when run as mocha test, but okay individually

modified so that I am creating a new doc if needed

modified:   couch_set_state.js
modified:   test/test_option_couchdb.js
modified:   test/test_set_state.js