Added tests
Merge pull request #496 from ppp0/issue-496

Write tests for redis module