Make test MacOS compatible
This is just a very "workaroundy" way of fixing it, I'm sure we can come up with something better.
The issue is that `/tmp` is a symlink on MacOS so the resulting path was different than the test expects.
Relates to #28 (closed)
Edited by Ondřej Kinšt