added check for keys and values passed to acts_as_hashish
more validation
more spec
mocha