LogService and tests added