Rearrange some transformer tests (#95745)
This changes the test placement to be more inline with the class hierarchy in the test_transformers.py
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95745
Approved by: https://github.com/cpuhrsch