Add automated tests for groups