Added test for small set cardinality queries