elasticsearch java api test case