completed HashCache implementation for redis

- fixed incorrect redis command used by HDecrBy method
- made sure the key used by the hash cache is saved by the redis key cache
- added unit test for the hash cache methods