elasticsearch test case