This change adds tests against static indexes for previous versions of elasticsearch. It also adds a python script to generate the indexes.