Add test for references in LINQ ordered lists

Signed-off-by: Igor Popov <igor@igorpopov.io>