add tests

tests for PackageData lib