Update test per weak_from_raw changes.