Add unit test for Config