Cherry pick the function stripping qmt test refs.

1 job for Stripping-test-qmt-fix in 19 seconds