added tests for group id option