more test cases using HQL