Cleanup docs.  Add test for the docs.