I think `cast(void)` is a necessary evil for the generic code. So I don't think it's good for other changes in unittests.