Make elastic work with our tests.