Fix tests and disable logging for all tests.