updated groups test to work