added test with real logger