#26: Add logger unit test. Fix logger.