update headers
Move tests to elasticsearch test framework

Closes #10.