Fixed testing on mac

Tests should now run on mac