Tests for PackageJSONExtractor