fix auto help display, add unit tests for logger module