Fix the spec for index to match ruby sass 3.3 behaviour

This PR updates the spec for `index` to match the ruby sass 3.3 behaviour.