Updated test to work correctly on Windows.