Add typed pointer tests.