tests for user-group association