Fix tests on ES build.
Fix tests on ES build.

ashimidashajia/magnum,MiUishadow/magnum,DerThorsten/magnum,MiUishadow/magnum,DerThorsten/magnum,DerThorsten/magnum,DerThorsten/magnum,MiUishadow/magnum,ashimidashajia/magnum,DerThorsten/magnum,ashimidashajia/magnum,ashimidashajia/magnum,MiUishadow/magnum,MiUishadow/magnum,MiUishadow/magnum,ashimidashajia/magnum