Need to implement proper equals() function for Aggregation and Aggregation Operations.
Use Case:
while mocking a template.aggregate(...) we would also need to verify it using the actual invocations. The lack of equals function returns false to the same list of operations.