tests for groups update