Wrote the rest of the mac_group unit tests

That should be all of the unit tests on this module, at least for now.