Making tests runnable on OSX