Also generate documentation for the tests.
Minor stylistic issues.