Fix and add tests for windows drive
Fix so this runs correctly under ix with win set.
Merge pull request #322 from Sophist-UK/sophist_add_tests_windows_drive

Fix and add tests for windows drive