add basic test for logger

I want a "pluggable" logger, but we need more tests beforehand ;-)
Probably `$date` can be renamed to clarify its purpose a bit - it took me a while to figure out that it gets substituted in the expected output string, then it gets evaluated as a regex with `like()`.