Add tests to ensure correct behavior of elasticsearch with our new
template settings.

Some of these tests fail at this time because our template is incorrect.
The template will be fixed shortly.