added pipeline tests for Last.
added pipeline tests for LongCount.
added pipeline tests for OrderBy.
found issue with projections when running a non-pipeline necessary query against the pipeline.