Unit test replacing digits in text.