Sure, I copied that approach from the main ElasticSearchTestCase. Changed in both places now to a more specific NotFound error.