Test and correct docGet.
Add tests for and fix attribute stringification.
Add processing instruction tests.