Fixing tests for mac.