Add doc tests

This adds some tests for documentation output.  These aren't exhaustive but meant to check for some basic properties that rendered docs should have.