test redis provider switch