working test ptype