Wrote SegmentPackageManager.open_initializer() tests.