add an example to explain elasticsearch api using Jest