added unit tests for couchdb admin