added test for the ptp interface
Merge pull request #1853 from Hengjean/ptp

added test for the ptp interface