[#707] Remove unneeded imports from test_group.py