ensure we clear using right defaultdict, add test