Add a few testing case for logger