Fixing test to work on Windows + Unix environments