[Bugfix] Specs were failing on Ruby 1.9.

The error message changed between 1.8.7 and 1.9.2.  It now reads "can't modify frozen Hash" (the H in hash was capitalized).
Merge pull request #1 from soomo/handle-frozen-hash-error

[Bugfix] Specs were failing on Ruby 1.9.