cleanup log messages in tests