cherry-picks redis class
add redis unit test