test redis function