Read news/technology articles (hacker news) or work on a task for another client :). If I don't distract myself I find myself making changes in the code requiring me to stop and start my tests again.
As you can see, personally I read HN. But I'm sure there are more productive things to do.