Hash spec (for recent IRC-spawned commit)

I figure the best way to understand a new project is to dive in and start writing tests (and fixing bugs). When I was on IRC I noticed this commit ee0caf1 come through with no tests, so... 

I hope you don't mind if I submit a stream of patches while I get my bearings. (Don't expect me to be your test monkey forever, though.)