add basic test for logger

I want a "pluggable" logger, but we need more tests beforehand ;-)
Actually we have a [bugreport](https://rt.cpan.org/Public/Bug/Display.html?id=98871) aginst that file slurping method. It is planned to move away from it, so could you please convert it to one of the recommended alternatives?