tests for elasticsearch output