Testing all methods of IterableWeakSet.