modified the functional testcases to run in mac