Package config: Improve test coverage.
Package config: Improve test coverage.

This adds test cases for a lot of failure cases but also some successful paths.
The body of `TestConfig_Unmarshal` has been simplified by using the `cmp`
package.

Test coverage is improved from ~55% to ~90%.

collectd/go-collectd,octo/go-collectd