Uses environment variables defined in phpunit.xml in ConfigTest.
Merge pull request #424 from shinnya/fix/use_predefined_environment_variables

Uses predefined environment variables in ConfigTest.
Add a new feature of downloading a file from existing.