Unit test updateConfig() and extend it so it can also remove values.