Fixes #94 and adds a test.
Adding a few waits and some better conditions for tests.
Adding a few more waits.
Adding more waits to tests.
Merge pull request #222 from girder/fix-group-refresh

Fixes #94 and adds a test.