tests: Fix end-of-all-ticks test for Western locales.