[MS][61483092] Move save and restore of test config to global rspec comfig.