Merge pull request #1138 from ChaoPang/master

fixed the test of elasticsearch