[jit] add module interface tests to test_jit (#35417)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/35417
surprised it's not getting runned by test_jit, added it
Test Plan: Imported from OSS
Differential Revision: D20655246
Pulled By: wanchaol
fbshipit-source-id: 9e1f865b3f2d23b63d4d605aaf2dc3a483a4f0e1