Refine training tests for PGO

[#82213900]