test for ptid