Is there already a standardized way to write tests that check for certain log messages? If not, might be a nice extension.