added filter query groupBy test
added min and max tests