[DF-4399] Unit test and framework adapted for MacOS.