fix a wrong type check and apply list() to zip()
started work on tests/pa_package.py
make the checks there optional for later