added test for ptp()