Wrote SegmentPackageManager.write_stub_make_module() tests. MILESTONE.

MILESTONE: tests now exists for all SegmentPackageManager public methods.

What remains are tests for ScorePackageManager public methods.