Fixed a crasher in a unit test that isn't used on Windows.