[Olena-patches] 2151: Fix many tests.