[WIP] JIT Static Hooks: cpp tests (#49547)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/49547
Test Plan: Imported from OSS
Reviewed By: heitorschueroff
Differential Revision: D25771118
Pulled By: Lilyjjo
fbshipit-source-id: cd8a58ff008a1c5d65ccbfbcbcb0214781ece16f