deduplicate the config setting in tests