Logger factory test working