fixed TestSaveSettings unit test