Fix Redis serialize tests