Document test extension methods

These test extension methods require the `TestingViewFactory` to be part
of the test browser setup.

Closes #1640.
Merge pull request #1641 from jugglingnutcase/document-view-extension-tests

Document test extension methods