Stop overwriting main settings file when running unit tests