fix unstable getText()

We have TimeUtil imported from Frequency class in many tests, so I want to add our own method 1ee34881 and use it for sleeps