added tests for group