Test generated outputs using text files
Each test generates a file that is checked into version control. This is easier to check than embedding the text inside the document, because the GitLab interface shows syntax highlighting etc.
Closes #7 (closed)