Test that ElasticSearch backend works with inheritance