[ONNX] Enable scripting tests (#64780) (#66138)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66138
* Scripting tests
* Fixed scripting tests for lower opsets
Test Plan: Imported from OSS
Reviewed By: malfet
Differential Revision: D31424099
fbshipit-source-id: 67095b7ac67b9da986961788392aa92c95cf11f2