add some tests of logger