Add test cases to ConfigTest.
Fixes the test cases using Config::getCurrentPhpDir().
Merge pull request #417 from shinnya/feature/add_test_cases_to_ConfigTest

Adds test cases to ConfigTest.