revise groups test slightly so that it passes on my machine

I didn't trouble to find out exactly why a selenium was failing in my environment only, but I revised the test to make it slightly more explicit and to pass on my mac.