Fix tests in Win

refs https://ci.appveyor.com/project/cakephp/cakephp-893/build/1.0.206/job/pv7k2qk29uh0iag7