Add rspec, plus specs and minor fixes for the HashObject class