Fix config test for Windows environment

Fix the fatal error of the config test when phpunit is run in the Windows environment.