Added some tests to logger