TestResultLogger refactoring and tweaks.