TC: print a summary after all the tests
TC: format code, expand TABs

No functional changes.
Merge pull request #216 from grissiom/more-tc

More tc