Test cases for range collection usage errors.