Main validator

Validator for the whole log file.
Various tests added.