Fixed bug in test that fails while trying to create a file in C:/ if not in a Windows OS