add test for ElasticSearchPostingsFormat

We have a custom postingsformat at the moment, and Lucene has a useful base test class to test these.