Add test; maintain long-term connections.

Added a test based on https://github.com/boj/redistore, and arranged for long-term connection and statement life.