adding logging unittests