Improve tests for file rotation in the forensic log hook
As we found some failing unit tests for the file rotation code in the forensic log hook I propose to improve these tests using the _LOG variants of gtest macros.
Side notes:
- this should be done for all tests where only the error exception type is checked vs the error message too.
- exception types are a hierarchy so one possible mistake is to check a parent of the real exception type.
- at the opposite when all messages are checked this opens an opportunity for reducing the number of exception types: no need to have different types when the fact they are different is not used...