Added testing implementation for generating reports using HQL