Test passes if the two boxes below look exactly the same.
Key to entities used below: א - The Hebrew letter Alef (strongly RTL).
1 a! א
a !א 1
1 a! א
a !א 1