Add unit tests for PackageData