change tests to expect id$.

also update elasticsearch module.
Merge pull request #4 from Vertice/master

change tests to expect id$.