@Test
public void testDuplicateGroupCreation() {

  Response response = endpoint.createGroup("Test 1", "Test group", "ROLE_ASTRO_101_SPRING_2011_STUDENT", "admin");
  assertEquals(HttpStatus.SC_CREATED, response.getStatus());
  response = endpoint.createGroup("Test 1", "Test group 2", "ROLE_ASTRO_101_SPRING_2011_STUDENT", "admin");
  assertEquals(HttpStatus.SC_CONFLICT, response.getStatus());
}