Fix config-related UT errors