test controller starting when couchdb is stopped