Wrote SegmentPackageManager.get_metadatum() tests.