Adapt new %alias tests to work with generated typemaps