Add tests that RelFieldTrimmer creates a ProjectRel, near the leaf of the tree, for just the fields used above it.
Add test case for query decorrelation bug [OPTIQ-313].