@Test
public void testAddGroupByVarAndExpr() {

	solutionModifier.addGroupBy(Var.alloc("groupBy"), new E_Random());
	String[] s = byLine(query.toString());
	assertContainsRegex(GROUP_BY + OPEN_PAREN + "rand" + OPEN_PAREN + CLOSE_PAREN + SPACE + "AS" + SPACE
			+ var("groupBy") + CLOSE_PAREN, s);
	solutionModifier.addGroupBy(Var.alloc("groupBy2"));
	s = byLine(query.toString());
	assertContainsRegex(GROUP_BY + OPEN_PAREN + "rand" + OPEN_PAREN + CLOSE_PAREN + SPACE + "AS" + SPACE
			+ var("groupBy") + CLOSE_PAREN + SPACE + var("groupBy2"), s);
}