some tests for elasticsearch