Fix test_17 json.
Report summary at end of file tests.
Improve test result reporting.
Fix handling of trailing whitespace in paragraphs.