[Olena-patches] 1955: Fix threshold testes.