Adding some basic test and a mock server for elasticsearch.