Add a test for config reading.