Started refactoring test reporting.