rename method to match test case
add tests for logging section