Normalizing text for text-in test.