Eng 6553 group by alias

Waiting for Jenkins...
Are we really processing HAVING expressions here? 
Maybe yes, but we don't care because "HAVING columnName" is not a valid clause?