You have.a good idea to a real issue, with the notifications, and @tylerl suggestion is good.
I would like to recommend a parallel approach: try as much as possible not to lose your focus (reading blogs, surfing around...) during the tests. During the (I assume, few) minutes that they take up, try not to "get distracted". Productivity is lost more on the context switching, pulling out of the mindset and getting back into it, than simply by the clock moving on.
It is not easy and it depends also on how and how long your test take.
I try, not always succeeding, to continue working, even simply thinking about the results and trying to anticipate and analyze them in my mind, or thinking about alternative solutions...
In this way you should (could?) Be able to remain productive while coding, and you can devote a more structured time to blogs, updating your skills, asking and answering questions here :) or relaxing in general.
puts "\a"in there as part of like, the final test to make your computer beep? – KChaloux Sep 21 '12 at 14:16