Finish Redis caching and its tests

closes #9