Fixed failing test on windows platform.