Test collector calls free_func only one time per object, even if the object was added multiple times.