HAVING tests.
HAVING tests.