Tests for row value constructor optimization. Query more test for salted...

... table using RVC construct. Optimizer tests for tables with secondary indexes and using RVC construct.