Sped up unit test postprocessing

Improved metadata debug log parsing. Used Stategy pattern and a StringBuilder. One test down from 5 mins to 30 seconds. 
Is this still necessary?