Simple script, modified from mozillapulse's tests