TST Adds pickle testing for ModuleInfo (#63736)
Summary:
Follow up to https://github.com/pytorch/pytorch/pull/61935
This PR adds `test_pickle` to `test_modules`.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/63736
Reviewed By: heitorschueroff
Differential Revision: D30522462
Pulled By: jbschlosser
fbshipit-source-id: a03b66ea0d81c6d0845c4fddf0ddc3714bbf0ab1