Started writing unit tests for mac_group