Fixed failing test on Windows