test verifies the logger factory