Fix intptr test