@Test public void createGroup() {

  int before = tableSize();
  groupDAO.createGroup("newGroup", "creator3", "", ImmutableMap.of());
  assertThat(tableSize()).isEqualTo(before + 1);
  List<String> names = groupDAO.getGroups()
      .stream()
      .map(Group::getName)
      .collect(toList());
  assertThat(names).contains("newGroup");
}