Fix mac test for travis