ticket:10 add unit test for logging