Added unit test that checks logger availability