Made test compatible with ES 1.0.1

Hey, we're using this at our company and just upgraded to ES 1.0.1. Since there were a few changes, this is a quick attempt to fix broken stuff and hope everything keeps working.

You'll see that multi_value fields have changed the most. It may not be pretty code (yet) but it works for now!