Unittests now work on mac