Headless unit testing of Raphael.js is possible, and it's awesome
trottercashion.com
trottercashion.com
I think that more important point of the post is that it is possible to test javascript graphics on the command line. That's something that's typically considered fairly difficult.