added tests for anonymousgroup