Refactoring the log tests a bit

Also added a test that verifies that multiple loggers will get called
with different format strings.

Should be good