added unit tests for logItem widget