IDEX-1604 fix test on Mac OS