WIP: Tests for rendered output

We really need to test that the rendered output is correct if we want to do further work. This is an attempt to get that started.

**This is a work in progress—we should get evolve a little bit of a nice structure for making these tests easier here before merging into master.**