Another attempt to fix the failing test on mac