unittest: fix handling of pragma pack in `cimport`
unittest: increase number of retries in cimport