CB-5761 fix recording of test to couchdb