Wrote SegmentPackageManager.open_metadata_module() tests.