Update redis unit test from #331, also fix indention levels and pep8 fix in metric
Doc updates
Doc updates