Fix EvalTagTests with locales other than English

Issue: SPR-11392
(cherry picked from commit edb0b0e)