Test passes if the two boxes display the same glyphs in the same order, with the same line breaks.

 
‭> a > ב > c >‬
‭< ג < b < א <‬
‭> a > ב > c >‬
 
 
‭> a > ב > c >‬
‭< ג < b < א <‬
‭> a > ב > c >‬