[torch.Package/TorchScript] TS into torch.Package test cases (#54894)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/54894
Test cases to test torch.Package's handling of TorchScript objects.
TODO: test mapping storages to different device
Test Plan: Imported from OSS
Reviewed By: suo
Differential Revision: D27832544
Pulled By: Lilyjjo
fbshipit-source-id: 6a67938a428b57520fead698da1412623ece9dbd