Fixed broken unit test on windows.