Patched the test code to be cross-platform (Windows-compatible)