automating elastic search integration test

fixing it