Fix raw tests after changes to internal interfaces.
Update stub generation after pointer representation change.