add basic test for logger

I want a "pluggable" logger, but we need more tests beforehand ;-)