Fix rate limiter and add test.
Merge pull request #51 from go-redis/fix/fix-rl

Fix rate limiter and add test.