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?
We've defined the environment variable in the phpunit.xml, please see if we can reuse it.