Hoist tests from scan_weak_pointers() into scav_weak_pointer()