Add tests for config.go