The following lines should be identical. (force bidi: א)
a b c d
a b c d
a
b c
d
a b c d
a
b c
d
a b c d
a
b
c
d