Fix script filter test on ES 1.4.0.Beta1
Fix alias tests on ES 1.4.0.Beta1