fix redis client, extend test