[Olena-patches] olena-2.0-22-g0c44c4c Fix test of Niblack's algorithm.