Make test fail counters count fails for each LLVM revision separately.

Rewritten code responsible for counting fails, added output to the log files