Fix tests on MacOS due to different behaviours of File.getCanonicalPath for temp dir
Merge pull request #429 from rorygraves/mac_path_fix

Fix tests on MacOS