Expand the mocks a bit for non ES tests.

We found that we were doing a lot of work in
WebappIndexer.extract_document and then that was getting sent to a
mocked ES. So let's expand this a bit to mock the document extraction as
well.