added mac testcases