Added tests for project, select, and grouping against relations.