implemented test case which produces different results between a query executed
using basic SQL and a query based on the aggregation index