Systematic sweep of flaky tests in test_weakref

Attempt to identify all use of weakref callbacks to ensure
extra_collect() is called to ensure reaper thread can do its work.