Fix two unittests for RTL rendering broken by Arabic translation changes.