Docs fixes

This does some minor docs cleanup.

It also creates an ESTestCase, cleans up the tests and adds ESTestCase documentation to the docs.

r?