Added semantic error for HAVING without GROUP BY
Add test for HAVING without GROUP BY