add test for cursors on secondary indexes, verifying correctness and that proper filtering of partitions is done
make a special case for when there is just one partition to query, to not use a SortedPartitionedCursor