Add a test and make the logging quiet during tests