mucking about with logging in the tests.