Added extra assert for in LoggerTester