Add a constructor to Config that accept a map with config overrides and
convert tests to use that instead of mocking