Add test for resolve PTR