fix cleanup of settings for tests