Improve the structured header tests, and add some more tests.
More tests, and a checklist of things to do.