Add unit test for HqlQueryBuilder