fix class:, it didn't receive the index when in a collection property.
move test.
`class: lambda { nil }` is deprecated. To return the fragment from parsing, use `instance: lambda { |fragment, *args| fragment }` instead.