debugging missing divs in the trivial reporter
factored out the couchdb connection to make the tests more readable