add use-case for log and unit test in the comment