fix wrong way of asserting the stats were in redis