Fix two tests that fail when coverage is enabled

This test would only fail if you ran with coverage enabled. I rewrote it so that it is more of a unit test and so it doesn't write out temporary files which was causing coverage to encounter an exception.
These were introduced as a copy paste and are actually covered in other functions. I did add a new function that tests that validate_overrides is called which is all that was added to read_config()