Use method chaining syntax in LINQ in tests