Unit-test log-file rotation handling