main: Add ConfigError test.