fixing test for mac