Fix a test failure, which occurres on cloudbees and one of my machines.
The failure occurred because of parsing many files and not triggering the
finishedParsing() event on the preprocessor.