Fix Tuple<> selection
Add unit tests for SelectClauseRewriter