Add "if __name__ == '__main__'" section to mac_group_test.py

CC @rallytime