added a test for the logger