Wrote groups test
Made test more explicit