Covered LogEntry and LogEntryFactory with unittests
Updted factory test