[#eng-6544] make the tests pass with es 1.2.1