TST Add test for iloc on interval index
- [ ] closes #17130
- [ ] tests added / passed
- [ ] Ensure all linting tests pass, see [here](https://pandas.pydata.org/pandas-docs/dev/development/contributing.html#code-standards) for how to run them

Adds tests for using iloc on an interval as index.
