add basic test for logging