testing connection to couchdb