Tests & fixes to SpaceSavingSketch