logging tests: correct teardown