Remove unit tests from the package.
Fix imports for python3
[ptp] Check if parser not None before instanciate.