Fixed existing unit tests to work on Windows 8.