Adds test cases to ConfigTest.

I added some test cases to `Config` class.
Though this pull request is not a bug fix nor a new feature, is it correct to send PR to develop branch?