Test code for just pnum, verified works