I guess Gavin would love to see some unit test for this :-P. Btw. I also thought about such a thing a few days ago ^^.