[Operator Versioning][Test] Use hypothesis for better test input data and broader coverage (#70263)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/70263
Leverage the hypothesis library as it's more systematic way for testing. To write a test, it needs two parts:
1. A function that looks like a normal test in your test framework of choice but with some additional arguments
2. A given decorator that specifies how to provide those arguments.
ghstack-source-id: 146344955
Test Plan:
```
buck test mode/opt //caffe2/test:jit
python test/test_jit.py TestSaveLoadForOpVersion
```
Reviewed By: iseeyuan
Differential Revision: D33244389
fbshipit-source-id: c93d23f3d9575ebcb4e927a8caee42f4c3a6939d