unittest for logger is disabled