Made test compatible with ES 1.0.1
Merge pull request #35 from svenmeys/master

Made test compatible with ES 1.0.1