fix redis setting
fix test